export interface SettingsContext {
  registerSection: (id: string, section: SettingsSectionContext) => void;
  unregisterSection: (id: string) => void;
}

export interface SettingsSectionContext {
  validate: () => Promise<boolean> | boolean | undefined;
  save: () => Promise<void> | void;
}
